﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Template_20130814090636.aspx.cs" Inherits="BPM.ReportDesigner.GenerateReportFiles.Template_20130814090636" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>dd</title>
    <script src="../ImportScript/jquery-1.7.1.min.js" type="text/javascript"></script>
    <link href="../ImportScript/My97DatePicker/My97DatePicker/skin/WdatePicker.css" rel="stylesheet"
        type="text/css" />
    <script src="../ImportScript/My97DatePicker/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        var actionRow, actionColor, actionFolat;
        function Report_Print() {
            var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
            document.body.insertAdjacentHTML('beforeEnd', WebBrowser); //在body标签内加入html(WebBrowser activeX控件)
            WebBrowser1.ExecWB(7, 1); //打印预览
        }
        function SetColor(obj) {
            if (actionRow == null) {
                actionRow = obj;
                actionColor = obj.style.backgroundColor;
                actionFolat = obj.style.color;
                obj.style.backgroundColor = "#28C787";
                obj.style.color = "#FFFFFF";
            } else {
                actionRow.style.backgroundColor = actionColor;
                actionRow.style.color = actionFolat;
                actionRow = obj;
                actionColor = obj.style.backgroundColor;
                actionFolat = obj.style.color;
                obj.style.backgroundColor = "#28C787";
                obj.style.color = "#FFFFFF";
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="pl10 pr10">
        <div class="place">
            <div class="placeleft">
                <i></i>您现在的位置：<a href="#">报表</a> >> <strong><b>dd</b></strong>
            </div>
            <div class="globalBtn">
            </div>
        </div>
        <div class="listTable_1">
            <%-- <div class="tableh3">
                dd</div>--%>
            <table border="0" cellpadding="0" cellspacing="0" class="listTable">
                 
            </table>
            <div class="pt10">
                
                <input type="button" class="btn" value="打印预览" onclick="Report_Print()" />&nbsp;&nbsp;<asp:Button
                    ID="Button1" runat="server" Text="导出Excel" CssClass="btn" OnClick="ExportToExcel_Click" />
            </div>
            <div class="pt10">
                <table class="table table-bordered table-hover table-condensed">
                    <tr>
                        <th class="reptTH" style="width:20px;">No.</th><th class="reptTH">FORMID</th><th class="reptTH">PROCESSNAME</th><th class="reptTH">INCIDENT</th><th class="reptTH">DOCUMENTNO</th><th class="reptTH">APPLICANT</th><th class="reptTH">REQUESTDATE</th><th class="reptTH">DEPARTMENT</th><th class="reptTH">COMPANY</th><th class="reptTH">PROCESSSUMMARY</th><th class="reptTH">STATUS</th><th class="reptTH">SSXM</th><th class="reptTH">BH</th><th class="reptTH">BXJE</th><th class="reptTH">BXJEDX</th><th class="reptTH">ZHM</th><th class="reptTH">KHH</th><th class="reptTH">YHKH</th><th class="reptTH">WCQKGS</th>
                    </tr>
                    <asp:Repeater ID="ReportList" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td class="reptTD" style="border-right-width:1px;" ><%# Container.ItemIndex + 1%></td><td class="reptTD"><%# Eval("FORMID") %></td><td class="reptTD"><%# Eval("PROCESSNAME") %></td><td class="reptTD"><%# Eval("INCIDENT") %></td><td class="reptTD"><%# Eval("DOCUMENTNO") %></td><td class="reptTD"><%# Eval("APPLICANT") %></td><td class="reptTD"><%# Eval("REQUESTDATE") %></td><td class="reptTD"><%# Eval("DEPARTMENT") %></td><td class="reptTD"><%# Eval("COMPANY") %></td><td class="reptTD"><%# Eval("PROCESSSUMMARY") %></td><td class="reptTD"><%# Eval("STATUS") %></td><td class="reptTD"><%# Eval("SSXM") %></td><td class="reptTD"><%# Eval("BH") %></td><td class="reptTD"><%# Eval("BXJE") %></td><td class="reptTD"><%# Eval("BXJEDX") %></td><td class="reptTD"><%# Eval("ZHM") %></td><td class="reptTD"><%# Eval("KHH") %></td><td class="reptTD"><%# Eval("YHKH") %></td><td class="reptTD"><%# Eval("WCQKGS") %></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr>
                        <td colspan="19" style="text-align: left; padding: 5px;">
                            
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
